home *** CD-ROM | disk | FTP | other *** search
/ World of Education / World of Education.iso / world_m / mathpl32.zip / MATHPLOT.DOC < prev    next >
Text File  |  1992-12-05  |  53KB  |  1,231 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.                                   M A T H P L O T
  10.  
  11.  
  12.  
  13.                       Mathematical Function Plotting Program
  14.  
  15.                                A "shareware" program
  16.  
  17.  
  18.  
  19.                                 Phillip H. Sherrod
  20.  
  21.                Member, Association of Shareware Professionals (ASP)
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.               Mathplot  allows  you to specify mathematical functions
  29.               using ordinary algebraic  expressions  and  immediately
  30.               plot them.    Four types of functions may be specified:
  31.               cartesian (Y=f(X)); parametric  cartesian  (Y=f(T)  and
  32.               X=f(T));  polar (Radius=f(Angle)); and parametric polar
  33.               (Radius=f(T) and Angle=f(T)).  Up to four functions may
  34.               be plotted  simultaneously.    Scaling  is   automatic.
  35.               Options  are  available  to  control  axis  display and
  36.               labeling as well as grid lines.  Hard copy  output  can
  37.               be  generated to HP LaserJet printers as well as screen
  38.               display.  Mathplot is  an  ideal  tool  for  engineers,
  39.               scientists,  math and science teachers, and anyone else
  40.               who needs to quickly visualize mathematical functions.
  41.  
  42.               Mathplot -- Mathematical Function Plotter      Page 1
  43.  
  44.  
  45.  
  46.  
  47.          INTRODUCTION
  48.  
  49.          Mathplot   is   a  program  for  IBM-PC  computers  which  allows
  50.          interactive entry and plotting of mathematical functions.    Some
  51.          of the features of Mathplot are listed below:
  52.  
  53.               Direct  entry  of  complicated  mathematical  functions
  54.               using  normal  algebraic  expressions   with   embedded
  55.               operators and functions.
  56.  
  57.               An   assortment   of   built-in   functions   including
  58.               trigonometric,  square  root,   log,   Gamma,   Bessel,
  59.               elliptic  integrals,  normal  probability distribution,
  60.               etc.
  61.  
  62.               The ability to plot four types of functions:  cartesian
  63.               (Y=f(X));  parametric  cartesian  (Y=f(T)  and X=f(T));
  64.               polar   (Radius=f(Angle));   and    parametric    polar
  65.               (Radius=f(T) and Angle=f(T)).
  66.  
  67.               The   ability   to   simultaneously  plot  up  to  four
  68.               functions.
  69.  
  70.               Automatic scaling and axis labeling.
  71.  
  72.               The ability to save function specifications in  command
  73.               files which then can be easily executed.
  74.  
  75.               The  ability to accept X-Y data points from an external
  76.               file.
  77.  
  78.               A command editor allows  easy  recall  and  editing  of
  79.               commands.
  80.  
  81.               Printed  copies of plots may be produced on HP LaserJet
  82.               printers.
  83.  
  84.  
  85.          INSTALLING MATHPLOT
  86.  
  87.          The Mathplot system consists of the following files:
  88.  
  89.          MATHPLOT.EXE -- The executable program.
  90.          MATHPLOT.FON -- Font file used for title line and axis labels.
  91.          MATHPLOT.LJF -- Font file for HP LaserJet printer.
  92.          MATHPLOT.FUN -- Example functions
  93.          MATHPLOT.DOC -- Documentation file.
  94.          REGISTER.DOC -- Software registration form.
  95.  
  96.          To install Mathplot, copy the files into the  directory  of  your
  97.          choice.   If  you do not plan to generated hard copy output for a
  98.  
  99.                Mathplot -- Mathematical Function Plotter      Page 2
  100.  
  101.  
  102.          LaserJet printer, you may delete the MATHPLOT.LJF file.   If  the
  103.          MATHPLOT.FON and MATHPLOT.LJF  files  are  not  in  your  current
  104.          directory, you must place a command of the following form in your
  105.          AUTOEXEC.BAT  file  to  tell  Mathplot where to look for its font
  106.          files:
  107.  
  108.          SET MATHPLOT=directory
  109.  
  110.          Where "directory" is the name of the device and  directory  where
  111.          the files  are located.  For example, if the files are located in
  112.          a directory named MATHPLOT on the C disk, the  following  command
  113.          could be used:
  114.  
  115.          SET MATHPLOT=C:\MATHPLOT
  116.  
  117.  
  118.  
  119.          GETTING STARTED
  120.  
  121.          Mathplot is exceptionally easy to use.  Although there are a fair
  122.          number  of  commands  to control options, you only need to know a
  123.          couple of commands to begin using it.
  124.  
  125.          Start the program by entering the command:
  126.  
  127.          MATHPLOT
  128.  
  129.          Mathplot will display a title screen; press Enter to  proceed  to
  130.          command mode.    The  main  Mathplot screen is divided into three
  131.          sections.  The top window explains the function keys.  The bottom
  132.          window is used to display status and error messages.  The  middle
  133.          window is used by the command editor to display commands that you
  134.          enter.
  135.  
  136.          Several of the common Mathplot operations can be performed either
  137.          by pressing  a  function  key  or  by  typing  a  command.  These
  138.          commands are described below:
  139.  
  140.            Function key   Command   Action
  141.            ------------   -------   --------------------------------------
  142.                ESC         EXIT     Exit from Mathplot to DOS
  143.                F1          PLOT     Plot the current functions
  144.                F2                   Print current functions on HP LaserJet
  145.                F3          HELP     Display help menu
  146.                F4          RESET    Erase functions and reset Mathplot
  147.                F5                   Run an example
  148.  
  149.          The F5 key executes built-in example plots.  Each time you  press
  150.          F5 a  different  example  is  displayed.   I suggest you use this
  151.          feature to display a few plots in order to get a feeling for  how
  152.          Mathplot  works  and  what  types of commands are used to produce
  153.          plots.  Press any key to continue with execution after you finish
  154.          looking at a plot.  Note that after each example is completed the
  155.  
  156.                Mathplot -- Mathematical Function Plotter      Page 3
  157.  
  158.  
  159.          commands that produced it are  displayed  on  your  screen.    By
  160.          examining a few sets of example commands you should  be  able  to
  161.          get a pretty good idea about how to use Mathplot.
  162.  
  163.          Once  you  have  used F5 to display some plots, it is time to try
  164.          entering your  own  commands.    Begin  by  specifying  a  simple
  165.          function to be plotted.  I suggest you enter the command:
  166.  
  167.          Y=SIN(X)
  168.  
  169.          You  may  use  either upper or lower case letters when you type a
  170.          command.  Press Enter when you  are  finished  typing  the  line.
  171.          Next,  command  Mathplot  to  evaluate this function and plot the
  172.          results by pressing F1.
  173.  
  174.          You should see a sine wave displayed on your screen.  Press Enter
  175.          to return to the command editor.  Now  let's  make  the  function
  176.          slightly more complicated by entering the command:
  177.  
  178.          Y=SIN(X)+SIN(3*X)/3
  179.  
  180.          This replaces  the previous function definition.  Press F1 to see
  181.          this function plotted.  If you  make  a  mistake  when  typing  a
  182.          command,  use  the  arrow  and editing keys such as Backspace and
  183.          Delete to correct your mistake, then press Enter to reexecute the
  184.          command.
  185.  
  186.          So far,  the  function  has  been  evaluated  over  the  interval
  187.          (0,2*pi), which is the initial default domain.  Use the following
  188.          command to change the domain to (-2*pi,2*pi):
  189.  
  190.          DOMAIN -2*PI,2*PI
  191.  
  192.          Also, use the following command to turn on grid line display:
  193.  
  194.          GRID ON
  195.  
  196.          Press F1 to display the plot.
  197.  
  198.          As a final exercise, use the following command to define a second
  199.          function to be displayed simultaneously with the first one:
  200.  
  201.          Y2=SIN(X)
  202.  
  203.          And, again  press  F1  to  display them.  You should see a simple
  204.          sine wave (the Y2 function) superimposed on the previous function
  205.          (the Y function).  Press ESC to exit Mathplot and return to DOS.
  206.  
  207.               Mathplot -- Mathematical Function Plotter      Page 4
  208.  
  209.  
  210.          Demonstration Command File
  211.  
  212.          The   Mathplot   distribution   includes  a  command  file  named
  213.          MATHPLOT.FUN containing a number of  interesting  example  plots.
  214.          You  can  execute  this  command  file by using the Mathplot "DO"
  215.          command, or by specifying the  command  file  on  the  invocation
  216.          line.   The following DOS command starts the Mathplot program and
  217.          instructs  it  to  execute  the  commands  stored  in  the   file
  218.          MATHPLOT.FUN:
  219.  
  220.          MATHPLOT MATHPLOT.FUN
  221.  
  222.  
  223.  
  224.          COMMAND EDITOR
  225.  
  226.          The  middle  window  of  the  main Mathplot screen is used by the
  227.          command editor to accept and  display  commands  you  type.    In
  228.          addition  to typing commands, you can also use the arrow keys and
  229.          other editing functions to recall, edit, and reexecute  commands.
  230.          If  you  enter a command that has an error, a message will appear
  231.          in the bottom window.  You can use the up-arrow key to  move  the
  232.          cursor up to the previous line, edit it, and then reexecute it by
  233.          pressing Enter.  Each time you press Enter, the line in which the
  234.          cursor is  positioned  is executed.  Using the arrow keys to move
  235.          up and down does not execute commands.
  236.  
  237.          The following function keys can be used with the command editor:
  238.  
  239.               Delete    -- Delete the character under the cursor.
  240.               Home      -- Move to the left end of the line.
  241.               End       -- Move to the right end of the line.
  242.               Page up   -- Move up to the previous page of commands.
  243.               Page down -- Move down to the next page of commands.
  244.               Insert    -- Switch between insert and overtype mode.
  245.  
  246.          The following control characters can be  used  with  the  command
  247.          editor:
  248.  
  249.               Enter     -- Execute the command line the cursor is positioned to.
  250.               Backspace -- Delete the character to the left of the cursor.
  251.               Control-U -- Delete characters to the left of the cursor.
  252.               Control-D -- Delete all characters in the current line.
  253.  
  254.                Mathplot -- Mathematical Function Plotter      Page 5
  255.  
  256.  
  257.          FUNCTION SPECIFICATION
  258.  
  259.          Much of the power of Mathplot comes from its ability to  evaluate
  260.          complicated functions  entered  in ordinary algebraic form.  This
  261.          section explains the arithmetic operators and built in  functions
  262.          that are used to define a function.
  263.  
  264.          Arithmetic Operators
  265.  
  266.          The following arithmetic operators may be used in expressions:
  267.  
  268.              +        addition
  269.              -        subtraction or unary minus
  270.              *        multiplication
  271.              /        division
  272.              ** or ^  exponentiation
  273.  
  274.          Exponentiation   has   the   highest   precedence,   followed  by
  275.          multiplication and division, and then addition  and  subtraction.
  276.          Parentheses may be used to group terms.
  277.  
  278.          As  a convenience, Mathplot allows you to omit the multiplication
  279.          operator between a numeric constant and a following  variable  or
  280.          function.   For  example,  the  expressions "2pi", and "2 pi" are
  281.          equivalent to "2*pi".  Similarly, "5X" is  equivalent  to  "5*X".
  282.          However,  if  you specify a number before the letter "E", it will
  283.          be taken as the exponential form of a number (see  below)  rather
  284.          than   the   number   times  the  constant  E  (base  of  natural
  285.          logarithms).
  286.  
  287.          Numeric Constants
  288.  
  289.          Numeric constants may be written in their  natural  form  (1,  0,
  290.          1.5,  .0003, etc.) or in exponential form, n.nnnEppp, where n.nnn
  291.          is the base value and ppp is the power of ten by which  the  base
  292.          is multiplied.    For  example, the number 1.5E4 is equivalent to
  293.          15000.  All numbers  are  treated  as  "floating  point"  values,
  294.          regardless of whether a decimal point is specified or not.
  295.  
  296.          Symbolic Constants
  297.  
  298.          There  are  two  numeric  constants  that  may be specified using
  299.          symbolic names.  The symbolic name  "PI"  is  equivalent  to  the
  300.          value of  pi, 3.14159...  Similarly, the symbolic constant "E" is
  301.          equivalent to the base of natural logarithms, 2.7182818...
  302.  
  303.  
  304.          Parameter values
  305.  
  306.          Mathplot allows you to use parameters named P0, P1,  ...,  P9  in
  307.          function definitions.     You  can  then  assign  values  to  the
  308.          parameters and replot the function without having to  retype  the
  309.          function to  change  a  value.  To assign a value to a parameter,
  310.  
  311.                Mathplot -- Mathematical Function Plotter      Page 6
  312.  
  313.  
  314.          type the parameter name as a command followed by the value to  be
  315.          assigned.  For example, the following command assigns  the  value
  316.          0.67 to the parameter P0:
  317.  
  318.          P0 0.67
  319.  
  320.          Note that parameters are like constants during the evaluation and
  321.          plotting of  a  function (i.e., their values do not change).  But
  322.          you can assign new values to parameters between plot generations.
  323.          For example, consider  the  following  commands  which  define  a
  324.          function  and then plot it twice with two different values of the
  325.          P0 parameter:
  326.  
  327.          Y = EXP(-P0*X) * COS(X)
  328.          P0  0.6
  329.          PLOT
  330.          P0  0.8
  331.          PLOT
  332.  
  333.          This function represents the response of a damped oscillator with
  334.          the P0 coefficient controlling the damping factor.   By  changing
  335.          the  value of the P0 parameter you can examine different forms of
  336.          the function without having to retype the function.
  337.  
  338.  
  339.          Built in Functions
  340.  
  341.          The following functions are built into Mathplot and may  be  used
  342.          in expressions:
  343.  
  344.          ABS(x) -- Absolute value of x.
  345.  
  346.          ACOS(x) -- Arc cosine of x.  Angles are measured in radians.
  347.  
  348.          ASIN(x) -- Arc sine of x.  Angles are measured in radians.
  349.  
  350.          ATAN(x) -- Arc tangent of x.  Angles are measured in radians.
  351.  
  352.          BETAI(x,a,b) --   Incomplete   beta   function:   Ix(a,b).    The
  353.               incomplete beta function can be used to compute a variety of
  354.               statistical functions.   For  example,  the  probability  of
  355.               Student's  t  with  `df'  degrees of freedom can be computed
  356.               with BETAI(df/(df+t^2),.5*df,.5).  The probability of the  F
  357.               statistic  with  df1  and  df2  degrees  of  freedom  can be
  358.               computed with
  359.               2*BETAI(df2/(df2+df1*f),.5*df2,.5*df1).
  360.  
  361.          COS(x) -- Cosine of x.  Angles are measured in radians.
  362.  
  363.          COSH(x) -- Hyperbolic cosine of x.
  364.  
  365.               Mathplot -- Mathematical Function Plotter      Page 7
  366.  
  367.  
  368.          COT(x) -- Cotangent of x. (COT(x) = 1/TAN(x)).
  369.  
  370.          CSC(X) -- Cosecant of x. (CSC(x) = 1/SIN(x)).
  371.  
  372.          DEG(x)  --  Converts  an  angle,  x,  measured  in radians to the
  373.               equivalent number of degrees.
  374.  
  375.          EI1(alpha,phi) -- Elliptic integral of the first kind.   Computes
  376.               the   integral  from  0  to  phi  radians  of  the  function
  377.               d.phi/sqrt(1-k**2*sin(phi)**2), where k = sin(alpha).  alpha
  378.               and phi must be in the range 0 to pi/2.
  379.  
  380.          EI2(alpha,phi) -- Elliptic integral of the second kind.  Computes
  381.               the   integral  from  0  to  phi  radians  of  the  function
  382.               sqrt(1-k**2*sin(phi)**2)*d.phi, where k = sin(alpha).  alpha
  383.               and phi must be in the range 0 to pi/2.
  384.  
  385.          EIC1(alpha)  --  Complete  elliptic  integral  of the first kind.
  386.               Computes the integral from 0 to pi/2 radians of the function
  387.               d.phi/sqrt(1-k**2*sin(phi)**2), where k = sin(alpha).  alpha
  388.               must be in the range 0 to (less than) pi/2.
  389.  
  390.          EIC2(alpha)  --  Complete  elliptic  integral of the second kind.
  391.               Computes the integral from 0 to pi/2 radians of the function
  392.               sqrt(1-k**2*sin(phi)**2)*d.phi, where k = sin(alpha).  alpha
  393.               must be in the range 0 to pi/2.
  394.  
  395.          ERF(x) -- Standard error function of x.
  396.  
  397.          EXP(x) -- e (base of natural logarithms) raised to the x power.
  398.  
  399.          FAC(x) --  x  factorial (x!).  Note, the FAC function is computed
  400.               using the GAMMA function (FAC(x)=GAMMA(x+1)) so  non-integer
  401.               argument values may be computed.
  402.  
  403.          GAMMA(x) -- Gamma function.  Note, GAMMA(x+1) = x! (x factorial).
  404.  
  405.          GAMMAI(x)   --   Reciprocal   of   GAMMA  function  (GAMMAI(x)  =
  406.               1/GAMMA(x)).
  407.  
  408.          GAMMALN(x) -- Log (base e) of the GAMMA function.
  409.  
  410.          HAV(x) -- Haversine of x. (HAV(x) = (1-COS(x))/2).
  411.  
  412.          J0(x) -- Bessel function of the first kind, order zero.
  413.  
  414.          J1(x) -- Bessel function of the first kind, order one.
  415.  
  416.          JN(n,x) -- Bessel function of the first kind, order n.
  417.  
  418.          LOG(x) -- Natural logarithm of x.
  419.  
  420.               Mathplot -- Mathematical Function Plotter      Page 8
  421.  
  422.  
  423.          LOG10(x) -- Base 10 logarithm of x.
  424.  
  425.          MAX(x1,x2) -- Maximum value of x1 or x2.
  426.  
  427.          MIN(x1,x2) -- Minimum value of x1 or x2.
  428.  
  429.          NORMAL(x) -- Normal probability distribution of x.  X is in units
  430.               of standard   deviations  from  the  mean.    See  also  the
  431.               description of the NPD function.  NORMAL(x) = NPD(x,0,1).
  432.  
  433.          NPD(x,mean,std) -- Normal  probability  distribution  of  x  with
  434.               specified mean  and  standard  deviation.   X is in units of
  435.               standard deviations from the mean.
  436.  
  437.          PAREA(x) -- Area under the normal probability distribution  curve
  438.               from  -infinity to x. (i.e., integral from -infinity to x of
  439.               NORMAL(x)).
  440.  
  441.          PULSE(a,x,b) -- Pulse function.  If the value of x is less than a
  442.               or greater than b, the value of the function is 0.  If x  is
  443.               greater  than or equal to a and less than or equal to b, the
  444.               value of the function is 1.  In other words, it is 1 for the
  445.               domain (a,b) and zero elsewhere.  If  you  need  a  function
  446.               that  is  zero  in the domain (a,b) and 1 elsewhere, use the
  447.               expression (1-PULSE(a,x,b)).
  448.  
  449.          RAD(x) -- Converts an angle measured in degrees to the equivalent
  450.               number of radians.
  451.  
  452.          SEC(x) -- Secant of x. (SEC(x) = 1/COS(x)).
  453.  
  454.          SIN(x) -- Sine of x.  Angles are measured in radians.
  455.  
  456.          SINH(x) -- Hyperbolic sine of x.
  457.  
  458.          SQRT(x) -- Square root of x.
  459.  
  460.          STEP(a,x) -- Step function.  If x is less than a,  the  value  of
  461.               the function  is 0.  If x is greater than or equal to a, the
  462.               value of the function is 1.  If you need a function which is
  463.               1 up to a certain value and then 0 beyond  that  value,  use
  464.               the expression STEP(x,a).
  465.  
  466.          T(n,x) -- Chebyshev polynomial of order n.
  467.  
  468.          TAN(x) -- Tangent of x.  Angles are measured in radians.
  469.  
  470.          TANH(x) -- Hyperbolic tangent of x.
  471.  
  472.          Y0(x) -- Bessel function of the second kind, order zero.
  473.  
  474.                Mathplot -- Mathematical Function Plotter      Page 9
  475.  
  476.  
  477.          Y1(x) -- Bessel function of the second kind, order one.
  478.  
  479.          YN(n,x) -- Bessel function of the second kind, order n.
  480.  
  481.  
  482.          FUNCTION TYPES
  483.  
  484.          Mathplot allows four different types of functions to be  plotted:
  485.          cartesian,  parametric  cartesian,  polar,  and parametric polar.
  486.          Each of the function types is described below:
  487.  
  488.          Cartesian Functions
  489.  
  490.          A cartesian  function  has  the  form  Y=f(X),  where  X  is  the
  491.          independent  variable  that  is plotted along the horizontal axis
  492.          and Y is the dependent variable plotted  on  the  vertical  axis.
  493.          The value specified with the DOMAIN command controls the interval
  494.          of X  values over which the function is evaluated.  Some examples
  495.          of this type of function are listed below:
  496.  
  497.          Y=SIN(X)
  498.          Y=2*X**2-3*X+5
  499.          Y=SIN(X)/EXP(X)
  500.          Y=1/SQRT(2*(X+1))
  501.  
  502.          Parametric Cartesian Functions
  503.  
  504.          Parametric functions use a third variable, which we will call  T,
  505.          as the  independent  variable.    Both  X  and  Y  are  dependent
  506.          variables defined as functions of T. The value of the T  variable
  507.          is  not  directly  displayed  on the plot but is used only in the
  508.          functions that define the values of the X and  Y  variables  that
  509.          are plotted.   For example, the following commands define X and Y
  510.          as functions of T:
  511.  
  512.          X=COS(T)
  513.          Y=SIN(T)
  514.  
  515.          When parametric  functions  are  defined,  the  DOMAIN  statement
  516.          specifies the interval over which the T variable is computed.  If
  517.          the two functions of X and Y specified above are plotted over the
  518.          domain  (0,2*PI),  the  result is a circle with radius 1 centered
  519.          around the origin.
  520.  
  521.          Polar Functions
  522.  
  523.          A polar function specifies the distance (or radius)  of  a  point
  524.          from  the  origin  as  a  function  of the angle swept around the
  525.          origin.  The angle (A) is the independent variable and the radius
  526.          (R) is the dependent variable.  The  DOMAIN  statement  specifies
  527.          the  interval  of  values that the angle is to be evaluated over.
  528.          The angle begins on the positive  X  axis;  positive  angles  are
  529.          measured counterclockwise around the origin.  Angles are measured
  530.  
  531.               Mathplot -- Mathematical Function Plotter     Page 10
  532.  
  533.  
  534.          in  radians;  the  RAD  and  DEG functions can be used to convert
  535.          between degrees and radians.  The simplest polar function is
  536.  
  537.          R=1
  538.  
  539.          which specifies  that  for  all  angles the radius is 1.  If this
  540.          function is plotted over the domain  (0,2*pi)  the  result  is  a
  541.          circle of  radius  1  centered around the origin.  Another simple
  542.          polar function is
  543.  
  544.          R=A
  545.  
  546.          which defines a spiral with the radius increasing with the angle.
  547.  
  548.          Parametric Polar Functions
  549.  
  550.          A parametric polar function defines the radius (R) and angle  (A)
  551.          as  functions of the parametric variable, T. The DOMAIN statement
  552.          defines the interval of T  values  over  which  the  function  is
  553.          evaluated.   The  following  is  an example of a parametric polar
  554.          function definition:
  555.  
  556.          R=COS(T)
  557.          A=SIN(T)
  558.  
  559.          Over the domain (0,2*pi), this produces a figure-eight pattern.
  560.  
  561.  
  562.          PLOTTING SIMULTANEOUS FUNCTIONS
  563.  
  564.          Up to four functions may be plotted  at  the  same  time.    When
  565.          defining  multiple  functions,  add  a single-digit suffix to the
  566.          dependent variable name for  the  function.    For  example,  the
  567.          following   commands   define   four   functions  to  be  plotted
  568.          simultaneously:
  569.  
  570.          Y1=SIN(X)
  571.          Y2=COS(X)
  572.          Y3=SIN(2*X)
  573.          Y4=COS(2*X)
  574.  
  575.          If no number is specified, the default value is  1.    Thus,  the
  576.          following two function definitions are equivalent:
  577.  
  578.          Y=2*X**2
  579.          Y1=2*X**2
  580.  
  581.          You can remove a function definition by defining another function
  582.          for  the  same  dependent variable or by specifying the dependent
  583.          variable without a function.  For example, the following  command
  584.          removes the definition for Y2:
  585.  
  586.                Mathplot -- Mathematical Function Plotter     Page 11
  587.  
  588.  
  589.          Y2
  590.  
  591.          When a function of a type (cartesian, polar, etc.) different from
  592.          the current  type  is  defined,  all  of  the  currently  defined
  593.          functions are removed.
  594.  
  595.  
  596.          MATHPLOT COMMANDS
  597.  
  598.          The  commands  described  in  this  section  are  used to control
  599.          Mathplot.  When Mathplot is waiting for a command, the cursor  is
  600.          positioned in  the  middle  window of the screen.  If you need to
  601.          type a command that  is  longer  than  a  single  line,  you  may
  602.          continue  a  command by typing a minus sign as the last character
  603.          on the line to be continued.
  604.  
  605.          Commands may be abbreviated to the first three letters  of  their
  606.          keyword.   Commands  may  be  typed  using  upper  or  lower case
  607.          letters.
  608.  
  609.          You may place comments on commands by preceding the comment by an
  610.          exclamation point.  For  example,  the  following  commands  have
  611.          comments:
  612.  
  613.          ! Define square wave function
  614.          Y=SIN(X)+SIN(3*X)/3       ! Approximate square wave
  615.          DOMAIN 0,2*PI             ! One cycle of the function
  616.  
  617.  
  618.          Startup Command File
  619.  
  620.          The DOS command to start Mathplot is:
  621.  
  622.          MATHPLOT [filename]
  623.  
  624.          where  "filename" is an optional parameter specifying the name of
  625.          a file containing commands to be executed by Mathplot as soon  as
  626.          it is started.  This startup command file may contain one or more
  627.          complete  sets  of  statements to define functions and plot them.
  628.          The default file extension is ".FUN".  See also the  descriptions
  629.          of  the  DO  and  SAVE  commands for additional information about
  630.          command files.
  631.  
  632.          Initialization file
  633.  
  634.          Each time Mathplot is started it attempts to open  a  file  named
  635.          MATHPLOT.INI.  If  this  file  exists,  all  commands  in  it are
  636.          executed.  You may create such a file to  contain  initialization
  637.          commands to  set  default  values.   For example, if you normally
  638.          like  to  have  grid  lines  turned  on,  create  a  file   named
  639.          MATHPLOT.INI containing  the  command  "GRID ON".  Mathplot looks
  640.          for this file first in the current directory and if it  does  not
  641.          find it there it checks to see if a MATHPLOT environment variable
  642.  
  643.                Mathplot -- Mathematical Function Plotter     Page 12
  644.  
  645.  
  646.          has been defined to specify a directory.  The initialization file
  647.          is executed before any file specified on the command that  starts
  648.          Mathplot.
  649.  
  650.          Command Arguments
  651.  
  652.          Many of   the   commands   accept  numeric  arguments.    In  the
  653.          descriptions below, the notation  "cexpr"  is  shown  wherever  a
  654.          numeric argument  may  be specified.  These numeric arguments may
  655.          consist of numbers, symbolic  constants,  and  expressions  using
  656.          operators and  built in functions.  For example, the following is
  657.          a valid DOMAIN command:
  658.  
  659.          DOMAIN -2*PI,PI*SQRT(2)
  660.  
  661.          The argument expressions may NOT contain variables such as X,  Y,
  662.          R, A, or T, or parameters such as P0 or P1.
  663.  
  664.          Arguments shown in brackets are optional.  Braces around a set of
  665.          options  indicate  that you must choose one of the options in the
  666.          set.
  667.  
  668.  
  669.  
  670.          ALPHABETICAL LIST OF COMMANDS
  671.  
  672.          AXES {ON | OFF} (default=ON)  --  Specifies  whether  to  display
  673.               axes.  Use the LABELS command to control whether axis labels
  674.               are displayed.
  675.  
  676.          CALCULATE cexpr  -- Evaluate the specified expression, which must
  677.               contain only numbers, operators, and built in functions, and
  678.               display the result in the bottom window.
  679.  
  680.          CAXES cexpr (default=3) -- Specify the color to be used  for  the
  681.               axis lines and labels.
  682.  
  683.          CFn cexpr  (default=2,1,4,3)  -- Define the color to be used when
  684.               plotting function 'n'.  For  example,  the  command  "CF1 3"
  685.               specifies  that color 3 is to be used when plotting function
  686.               1.
  687.  
  688.          CGRID cexpr (default=8) -- Specify the color to be used for  grid
  689.               lines.
  690.  
  691.          COMMONSCALE {ON | OFF}  (default=OFF) -- If this option is turned
  692.               on, the X and Y directions  are  forced  to  have  the  same
  693.               scale.  If this option is off, the X and Y ranges are scaled
  694.               independently, which may cause figures to be distorted - for
  695.               example, a  circle  may  display  as  an  ellipse.  However,
  696.               turning this option on may result in one of  the  dimensions
  697.               using  only  a  small  portion  of the screen if the X and Y
  698.               ranges are very different.  This option  is  always  on  for
  699.  
  700.                Mathplot -- Mathematical Function Plotter     Page 13
  701.  
  702.  
  703.               polar function plots.
  704.  
  705.          CTITLE cexpr (default=7) -- Specify the  color  to  use  for  the
  706.               title line.
  707.  
  708.          DATA filename  --  Causes  X and Y data values to be read from an
  709.               external file  rather  than  being  computed  from  function
  710.               definitions.   After  the  data  has been read, use the PLOT
  711.               command to display it.  Any  function  definition  following
  712.               this  command will clear the external data values and revert
  713.               to function mode.  Each X,Y data pair must be specified as a
  714.               separate line in the file with  a  space  separating  the  X
  715.               value from  the Y value.  The default extension for the file
  716.               is ".DAT".
  717.  
  718.          DISPLAY string -- Display the string in the bottom window of  the
  719.               screen.  The  string  is  displayed  for  3  seconds.   This
  720.               command may be placed in command file to  cause  information
  721.               to be printed while the command file is being processed.
  722.  
  723.          DO filename  --  Execute  the  Mathplot  commands  stored  in  an
  724.               external file.  This allows you to specify a  complete  plot
  725.               request,  including  functions and options, and then execute
  726.               it without having to retype the commands.  An external  file
  727.               may  itself  contain  a  DO  command and this nesting may be
  728.               performed to  a  depth  of  10  files.    The  default  file
  729.               extension is  ".FUN".    Use  the  LIST  command  to control
  730.               whether the commands in the file are displayed in  the  edit
  731.               window.  See also the description of the SAVE command.
  732.  
  733.          DOMAIN cexpr1,cexpr2 (default=0,2*pi) -- Define the domain of the
  734.               independent  variable over which the functions are evaluated
  735.               and plotted.  This command may be abbreviated to "DOM".
  736.  
  737.          EXIT -- Stop Mathplot and return to DOS. Pressing ESC  will  also
  738.               cause Mathplot to exit.
  739.  
  740.          GRID {ON | OFF}  (default=OFF)  -- Specify whether grid lines are
  741.               to be displayed.
  742.  
  743.          HELP -- Display the help menu.  You can also do this by  pressing
  744.               F3.
  745.  
  746.          LABEL {ON | OFF}  (default=ON) -- Specify whether axis labels are
  747.               to be displayed.
  748.  
  749.          LIST {ON | OFF}  (default=OFF)  --   Specify   whether   commands
  750.               executed  from  an external file by subsequent use of the DO
  751.               command are to be listed as they are executed.
  752.  
  753.                Mathplot -- Mathematical Function Plotter     Page 14
  754.  
  755.  
  756.          NUMPOINTS cexpr (default=100) -- Specify the number of points  at
  757.               which the functions are to be  evaluated  over  the  domain.
  758.               Specifying  a  larger number of points results in a smoother
  759.               plot but increases the computation time.  The maximum number
  760.               of points that may be computed is 2000.  This command may be
  761.               abbreviated to the single letter 'N'.
  762.  
  763.          ORIGIN {ON | OFF} (default=OFF) --  Specify  whether  the  origin
  764.               (0,0) is  to  be forced to be included in the plot.  If this
  765.               option is off and the range of values does not span 0,  then
  766.               the origin  may  not  be  displayed.  Turning this option on
  767.               allows the range of the function relative to the  origin  to
  768.               be  observed,  but may result in a small scale factor if the
  769.               range is far from the origin.
  770.  
  771.          Pn cexpr -- Specify a value for parameter Pn where 'n' is in  the
  772.               range 0  to  9.    Mathplot  allows  you  to  use  up to ten
  773.               parameter values in function specifications.  The parameters
  774.               are named P0, P1, ..., P9.  You can assign a new value to  a
  775.               parameter  and  replot the function without having to retype
  776.               the function.
  777.  
  778.          PAUSE [cexpr] (default=0) -- This command  may  be  placed  in  a
  779.               command  file  to  cause  execution  to pause until a key is
  780.               pressed or the specified number of seconds elapse.  If cexpr
  781.               is omitted or has the  value  0,  execution  pauses  for  an
  782.               indefinite time until a key is pressed.
  783.  
  784.          PDEVICE device  (default=PRN) -- Allows you to specify the device
  785.               or file to which printer output is written when printing  is
  786.               turned on  by  use  of  the  PRINT  ON command.  The default
  787.               device is "PRN" but you may specify another device  such  as
  788.               LPT2  or COM. You may also direct output to a disk file that
  789.               you can printer later using the DOS PRINT or COPY commands.
  790.  
  791.          PRESOLUTION value (default=150) -- Specifies whether  plots  sent
  792.               to  HP  LaserJet printers should use 150 or 300 dot-per-inch
  793.               resolution.  The value parameter must be 150 or  300.    The
  794.               default  value  is  150  causes the plots to use most of the
  795.               horizontal width of an 8.5x11 inch page.   These  plots  are
  796.               suitable  for  direct  transfer  to overhead transparencies.
  797.               Specifying 300 for the  resolution  produces  smaller  plots
  798.               that are suitable for inclusion in printed documents.
  799.  
  800.          WIDTH value  (optional)  --  Specify  the  width,  in  inches, of
  801.               printed plots.  Due  to  memory  space  considerations,  the
  802.               maximum  width  is  limited  to about 7.9 inches for 150 DPI
  803.               resolution and 4.5 inches for 300 DPI resolution.    If  you
  804.               have  limited memory space, you may have to reduce the width
  805.               to be able to produce printed  plots.    This  statement  is
  806.               ignored unless you request that a plot be printed.
  807.  
  808.               Mathplot -- Mathematical Function Plotter     Page 15
  809.  
  810.  
  811.          PLOT [cexpr]   (default=0)  --  Evaluate  the  currently  defined
  812.               functions and  plot  them.   If an optional value (cexpr) is
  813.               specified, the  function  is  displayed  for  the  specified
  814.               number of  seconds  or  until  a  key  is  pressed.   If the
  815.               optional value is omitted or is zero, the plot is  displayed
  816.               for an  indefinite  time until a key is pressed.  The use of
  817.               the optional value is most  useful  when  the  PLOT  command
  818.               occurs  in  a  command  file  producing  a  "slide  show" of
  819.               functions.  You can also plot the  function(s)  by  pressing
  820.               F1.
  821.  
  822.          PRINT {ON | OFF} (default=OFF) -- Turns printer output on or off.
  823.               When  turned  on,  any  plot displayed on the screen is also
  824.               written to the printer (or file as directed by  the  PDEVICE
  825.               command).   To  produce  a  printed  copy  of  the currently
  826.               defined function(s) press F2.
  827.  
  828.          RESET -- Reset all parameters and options to their initial values
  829.               and remove all function definitions.  You can  also  perform
  830.               this function by pressing F4.
  831.  
  832.          SAVE filename  --  Write the current function definitions and the
  833.               values of all options and parameters to the specified  file.
  834.               The DO command can then be used at a later time to redisplay
  835.               the function.  The default file extension is ".FUN".
  836.  
  837.          TITLE string -- Define a title line to be displayed at the top of
  838.               the plot.
  839.  
  840.          WAXES cexpr  (default=3)  --  Specify  the width (in dots) of the
  841.               axis lines for printed output.    This  parameter  does  not
  842.               affect the screen display.
  843.  
  844.          WFn cexpr  (default=3) -- Specify the width (in dots) of the line
  845.               used to draw the plot of function 'n'.   This  only  affects
  846.               hard copy output.
  847.  
  848.          WGRID cexpr  (default=1)  --  Specify  the width (in dots) of the
  849.               grid lines.  This only affects hard copy output.
  850.  
  851.  
  852.          ADVANCED APPLICATIONS
  853.  
  854.          Root Finding
  855.  
  856.          Mathplot can be used to find the roots of equations.  To do this,
  857.          turn on axis labeling (LABEL ON) and plot the function  over  the
  858.          domain in  which  a root occurs.  Observe the approximate X value
  859.          at which the function crosses the  X  axis  and  then  reset  the
  860.          domain to  closely  span the crossing point.  Replot the function
  861.          and obtain a new X estimate.  After several iterations  you  will
  862.          be able to determine the root to several significant digits.  For
  863.          example, use this technique to find the root of the function:
  864.  
  865.                Mathplot -- Mathematical Function Plotter     Page 16
  866.  
  867.  
  868.  
  869.          Y = X^4 - EXP(X)
  870.  
  871.          in the domain (2,9.5).
  872.  
  873.          For a course in Algebra I, Mathplot can be  used  to  demonstrate
  874.          the graphical method of solving two simultaneous linear equations
  875.          by locating the point of intersection.  For an Algebra II course,
  876.          Mathplot  can  be  used  to locate minimum and maximum points for
  877.          quadratic and cubic equations.
  878.  
  879.          Multiple Domains
  880.  
  881.          Mathplot only allows specification of a single continuous  domain
  882.          of values.    However,  by  using  the multiple function plotting
  883.          capability it is sometimes possible to simulate multiple domains.
  884.          For example, the function X*Y=5 defines a hyperbola with branches
  885.          in both the positive X-Y domain (upper right  quadrant)  and  the
  886.          negative X-Y  domain (lower left quadrant).  The following set of
  887.          commands defines two parametric functions to  draw  each  of  the
  888.          branches:
  889.  
  890.          X1=T
  891.          Y1=5/T
  892.          X2=-T
  893.          Y2=-5/T
  894.          DOMAIN 0.5,10
  895.          LABEL ON
  896.          COMMONSCALE ON
  897.          PLOT
  898.  
  899.          Interesting Functions
  900.  
  901.          The  following  specifications  plot  interesting  and attractive
  902.          functions:
  903.  
  904.          TITLE Four Leaved Rose
  905.          CTITLE 4
  906.          R=2*SIN(2*A)
  907.          CF1 3
  908.          DOMAIN 0,2*PI
  909.          NUMPOINTS 150
  910.          AXES ON
  911.          CAXES 1
  912.          PLOT
  913.  
  914.               Mathplot -- Mathematical Function Plotter     Page 17
  915.  
  916.  
  917.          TITLE Prolate Cycloid
  918.          CTITLE 4
  919.          Y=1-2*COS(T)
  920.          X=T-2*SIN(T)
  921.          CF1 2
  922.          DOMAIN -4*PI,4*PI
  923.          NUMPOINTS 400
  924.          CAXES 1
  925.          COMMONSCALE ON
  926.          PLOT
  927.  
  928.          TITLE Hypocycloid of four cusps (Asteroid)
  929.          CTITLE 4
  930.          Y=SIN(T)^3
  931.          X=COS(T)^3
  932.          CF1 2
  933.          DOMAIN 0,2*PI
  934.          NUMPOINTS 100
  935.          AXES ON
  936.          CAXES 1
  937.          COMMONSCALE ON
  938.          PLOT
  939.  
  940.          TITLE Bifolium
  941.          CTITLE 4
  942.          Y=2*SIN(T)^2*COS(T)^2
  943.          X=2*SIN(T)*COS(T)^3
  944.          CF1 3
  945.          DOMAIN 0,2*PI
  946.          NUMPOINTS 100
  947.          AXES ON
  948.          CAXES 1
  949.          COMMONSCALE ON
  950.          PLOT
  951.  
  952.          TITLE Epicycloid
  953.          CTITLE 4
  954.          Y=5*SIN(T)-SIN(5*T)
  955.          X=5*COS(T)-COS(5*T)
  956.          CF1 3
  957.          DOMAIN 0,2*PI
  958.          NUMPOINTS 150
  959.          AXES ON
  960.          CAXES 1
  961.          COMMONSCALE ON
  962.          PLOT
  963.  
  964.          "Artistic" Plots
  965.  
  966.          When  Mathplot plots a function, it evaluates the function at the
  967.          number of points specified by the last NUMPOINTS command and then
  968.          connects the points together using straight lines.  By specifying
  969.          very large domain values for polar or parametric  functions,  the
  970.  
  971.               Mathplot -- Mathematical Function Plotter     Page 18
  972.  
  973.  
  974.          lines  connecting  the  points  span  large distances and produce
  975.          interesting and  "artistic"  plots.   It is best to turn off axis
  976.          display  (AXES OFF,  LABELS OFF)  and  turn  on  common   scaling
  977.          (COMMONSCALE ON) for these plots.  Here are some examples to try:
  978.  
  979.          Y=SIN(T)^3
  980.          X=COS(T)^3
  981.          CF1 2
  982.          DOMAIN 0,4000
  983.          NUMPOINTS 500
  984.  
  985.          R=2*SIN(2*A)
  986.          CF1 3
  987.          DOMAIN 0,2000
  988.          NUMPOINTS 500
  989.  
  990.          Y=5*SIN(T)-SIN(5*T)
  991.          X=5*COS(T)-COS(5*T)
  992.          CF1 3
  993.          DOMAIN 0,6000
  994.          NUMPOINTS 400
  995.  
  996.          Parametric  and polar functions seem to produce the best artistic
  997.          plots.  By varying  the  NUMPOINTS  and  DOMAIN  values  you  can
  998.          usually produce many different plots from the same functions.
  999.  
  1000.  
  1001.  
  1002.          USE AND DISTRIBUTION OF MATHPLOT
  1003.  
  1004.          You  are  welcome to make copies of this program and pass them on
  1005.          to friends or post this program on bulletin boards or  distribute
  1006.          it  via  disk  catalog  services  provided  the  entire  Mathplot
  1007.          distribution is included in its original,  unmodified  form.    A
  1008.          distribution  fee  may  be  charged for the cost of the diskette,
  1009.          shipping and handling.  However, Mathplot may  not  be  sold,  or
  1010.          incorporated  in  another  product  that  is  sold,  without  the
  1011.          permission of Phillip H. Sherrod.    Vendors  are  encouraged  to
  1012.          contact the author to get the most recent version of Mathplot.
  1013.  
  1014.          As  a  shareware product, you are granted a no-cost, trial period
  1015.          of 30 days during which you may evaluate Mathplot.  If  you  find
  1016.          Mathplot  to  be  useful,  educational,  and/or entertaining, and
  1017.          continue to use it beyond  the  30  day  trial  period,  you  are
  1018.          required  to  compensate  the  author by sending the registration
  1019.          form printed on a following page (and in REGISTER.DOC)  with  the
  1020.          appropriate  registration  fee  to help cover the development and
  1021.          support of Mathplot.
  1022.  
  1023.          In return for registering, you will  be  authorized  to  continue
  1024.          using  Mathplot  beyond the trial period and you will receive the
  1025.          most recent  version  of  the  program,  a  laser-printed,  bound
  1026.          manual,  and  three  months  of  support  via telephone, mail, or
  1027.  
  1028.                Mathplot -- Mathematical Function Plotter     Page 19
  1029.  
  1030.  
  1031.          CompuServe.  Your  registration  fee  will  be  refunded  if  you
  1032.          encounter a serious bug that cannot be corrected.
  1033.  
  1034.          See also the special offer for Nonlin that follows.
  1035.  
  1036.          This program is produced  by  a  member  of  the  Association  of
  1037.          Shareware Professionals  (ASP).   ASP wants to make sure that the
  1038.          shareware principle works for you.  If you are unable to  resolve
  1039.          a  shareware-related problem with an ASP member by contacting the
  1040.          member directly, ASP may be able to help.  The ASP Ombudsman  can
  1041.          help  you  resolve  a  dispute or problem with an ASP member, but
  1042.          does not provide technical support for members' products.  Please
  1043.          write to the ASP Ombudsman at 545 Grover Road, Muskegon, MI 49442
  1044.          or send a CompuServe message via CompuServe Mail to ASP Ombudsman
  1045.          7007,3536.
  1046.  
  1047.          You are welcome to contact the author:
  1048.  
  1049.                              Phillip H. Sherrod
  1050.                              4410 Gerald Place
  1051.                              Nashville, TN 37205-3806 USA
  1052.                              615-292-2881 (evenings)
  1053.                              CompuServe: 71333,27
  1054.  
  1055.          Both the Mathplot program and  documentation  are  copyright  (c)
  1056.          1991-1992 by  Phillip  H.  Sherrod.    You  are not authorized to
  1057.          modify the program. "Mathplot" is a trademark.
  1058.  
  1059.          Disclaimer
  1060.  
  1061.          Mathplot is provided "as is" without warranty of any kind, either
  1062.          expressed or implied.    This  program  may  contain  "bugs"  and
  1063.          inaccuracies, and its results should not be assumed to be correct
  1064.          unless they  are  verified  by  independent  means.    The author
  1065.          assumes no responsibility for the use of Mathplot and will not be
  1066.          responsible for any damage resulting from its use.
  1067.  
  1068.               Mathplot -- Mathematical Function Plotter     Page 20
  1069.  
  1070.  
  1071.                                     N O N L I N
  1072.  
  1073.               Nonlinear Regression Analysis Program -- Special Offer
  1074.  
  1075.          If  you  like  Mathplot,  you  should  check  out  Nonlin  -- the
  1076.          nonlinear regression analysis program by the same author.    And,
  1077.          if you register your use of Mathplot and order Nonlin at the same
  1078.          time, you can get both for the special price of $40.
  1079.  
  1080.          What is   regression   analysis?      Regression  analysis  is  a
  1081.          mathematical  technique  for  determining  the  best  values   of
  1082.          parameters to  fit  an  equation  to  a  set of data points.  For
  1083.          example, you might want to develop an equation of the form
  1084.  
  1085.          price = p0 + p1*age + p2*miles
  1086.  
  1087.          to predict the price of a used car  based  on  its  age  and  the
  1088.          number of  miles  driven.   With Nonlin you can collect data from
  1089.          car ads and then perform the analysis using the following set  of
  1090.          commands:
  1091.  
  1092.              VARIABLES PRICE,AGE,MILES
  1093.              PARAMETERS P0,P1,P2
  1094.              FUNCTION  PRICE = P0 + P1*AGE + P2*MILES
  1095.              DATA
  1096.  
  1097.          Nonlin will analyze the data and determine the best values of the
  1098.          parameters P0, P1, and P2 to fit the data values.
  1099.  
  1100.          Ordinary  linear regression programs can only determine parameter
  1101.          values for linear (straight line)  equations.    Nonlin,  on  the
  1102.          other  hand,  can  handle  multivariate,  linear, polynomial, and
  1103.          general nonlinear equations.  For example, using Nonlin  you  can
  1104.          easily  determine  the  best  values  for  the parameters Offset,
  1105.          Amplitude, and Frequency for an equation of the form:
  1106.  
  1107.          Y = Offset + Amplitude * sin(Frequency * X)
  1108.  
  1109.          Nonlin uses the same expression evaluator as Mathplot so you  can
  1110.          model  complicated  equations using the full set of operators and
  1111.          library functions available in Mathplot.  Nonlin  can  also  find
  1112.          the  root  (zero  point) or minimum absolute value of a nonlinear
  1113.          expression.
  1114.  
  1115.          If you do any data analysis, or would just like  to  learn  about
  1116.          the  incredibly  useful  regression  analysis technique, you need
  1117.          Nonlin!
  1118.  
  1119.               Mathplot -- Mathematical Function Plotter     Page 21
  1120.  
  1121.  
  1122.                         TSX-32 Multi-User Operating System
  1123.  
  1124.          If  you  have  a  need  for a multi-user, multi-tasking operating
  1125.          system, you should look into TSX-32.  TSX-32 is a  full-featured,
  1126.          high performance, multi-user operating system for the 386 and 486
  1127.          that provides  both  32-bit  and  16-bit  program  support.  With
  1128.          facilities such as multitasking  and  multisessions,  networking,
  1129.          virtual  memory,  background  batch  queues,  data  caching, file
  1130.          access control, real-time, and dial-in support, TSX-32 provides a
  1131.          solid environment for a wide range of applications.
  1132.  
  1133.          TSX-32 is not a limited, 16-bit, multi-DOS add-on.  Rather, it is
  1134.          a complete 32-bit operating system which makes full  use  of  the
  1135.          hardware's potential, including protected mode execution, virtual
  1136.          memory, and demand paging.  TSX-32 sites range from small systems
  1137.          with  2-3  terminals  to  large  installations  with more than 64
  1138.          terminals on a single 386.
  1139.  
  1140.          In addition to  supporting  most  popular  16-bit  DOS  programs,
  1141.          TSX-32 also provides a 32-bit "flat" address space with both Phar
  1142.          Lap and DPMI compatible modes of execution.
  1143.  
  1144.          Since  the  DOS  file  structure  is standard for TSX-32, you can
  1145.          directly read and write DOS disks.  And, you can run DOS part  of
  1146.          the time and TSX-32 the rest of the time on the same computer.
  1147.  
  1148.          TSX-32 allows  each  user to control up to 10 sessions.  Programs
  1149.          can also "fork" subtasks for multi-threaded  applications.    The
  1150.          patented Adaptive Scheduling Algorithm provides consistently good
  1151.          response time under varying conditions.
  1152.  
  1153.          The  TSX-32  network  option  provides  industry  standard TCP/IP
  1154.          networking through Ethernet  and  serial  lines.    Programs  can
  1155.          access  files  on  remote  machines  as  easily  as  on their own
  1156.          machine.  The SET HOST command allows a user on  one  machine  to
  1157.          log onto  another  computer in the network.  FTP, Telnet, and NFS
  1158.          are available for interoperability with other systems.
  1159.  
  1160.          TSX-32  allows  simultaneous  real-time  program  execution  with
  1161.          normal time-sharing  operations.   Real-time programs can connect
  1162.          to interrupts, access device control  ports,  and  preempt  other
  1163.          operations when necessary.  TSX-32 is an ideal process control or
  1164.          data collection system.
  1165.  
  1166.          TSX-32  is,  quite  simply,  the best and most powerful operating
  1167.          system available for the 386 and 486.  For additional information
  1168.          contact:
  1169.                             S&H Computer Systems, Inc.
  1170.                               1027 17th Avenue South
  1171.                               Nashville, TN 37212 USA
  1172.                                615-327-3670 (voice)
  1173.                                 615-321-5929 (fax)
  1174.                                CompuServe: 71333,27
  1175.  
  1176.               Mathplot -- Mathematical Function Plotter     Page 22
  1177.  
  1178.  
  1179.        =====================================================================
  1180.                                 Software Order Form
  1181.        =====================================================================
  1182.  
  1183.          Name ______________________________________________________
  1184.  
  1185.          Address ___________________________________________________
  1186.  
  1187.          City _______________________  State _______ Zip ___________
  1188.  
  1189.          Telephone _________________________________________________
  1190.  
  1191.          CompuServe account (optional) _____________________________
  1192.  
  1193.          Mathplot version (on title screen) ________________________
  1194.  
  1195.          Bulletin board where you found Mathplot ___________________
  1196.  
  1197.          Comments __________________________________________________
  1198.  
  1199.  
  1200.          Check the box below which indicates your order type:
  1201.  
  1202.          ___ I wish to register Mathplot ($20).
  1203.  
  1204.          ___ I wish to order Nonlin ($25).
  1205.  
  1206.          ___ I wish to register Mathplot and order Nonlin ($40).
  1207.  
  1208.          Add $5 to any amount shown above if the software is being shipped
  1209.          out of the United States.
  1210.  
  1211.          In  return  for  registering,  you  will  receive the most recent
  1212.          version of the  program,  a  laser-printed,  bound  copy  of  the
  1213.          manual,  and  three  months  of  telephone or CompuServe support.
  1214.          Your registration fee will be refunded if you find a serious  bug
  1215.          that cannot be corrected.
  1216.  
  1217.          Distribution disk choice (check one):
  1218.  
  1219.                3.50" HD (1.4 MB)  ______
  1220.                5.25" HD (1.2 MB)  ______
  1221.                5.25" DD (360 KB)  ______
  1222.  
  1223.          Send this form with the amount indicated to the author:
  1224.  
  1225.                                 Phillip H. Sherrod
  1226.                                  4410 Gerald Place
  1227.                           Nashville, TN  37205-3806  USA
  1228.                               615-292-2881 (evenings)
  1229.                                CompuServe: 71333,27
  1230.          ASP
  1231.